﻿using System;

namespace BCEntity.OA.Attendance.AttendanceGroup
{
    public class AttendanceGroupEntity : AttendanceBaseEntity
    {
        /// <summary>
        /// 考勤组Id
        /// </summary>		      
        public long GroupId { get; set; }
        /// <summary>
        /// 班次Id
        /// </summary>
        public long ClassId { get; set; }
        /// <summary>
        /// 是否默认考勤组
        /// </summary>		      
        public bool IsDefault { get; set; }
        /// <summary>
        /// 考勤组名称
        /// </summary>		      
        public string GroupName { get; set; }
        /// <summary>
        /// 考勤类型，FIXED为固定排班，TURN为轮班排班，NONE为无班次
        /// </summary>		      
        public string Type { get; set; }
        /// <summary>
        /// 成员人数
        /// </summary>		      
        public int MemberCount { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>		      
        public long CompanyId { get; set; }
        /// <summary>
        /// 关联的部门
        /// </summary>		      
        public string DepartmentIds { get; set; }
        /// <summary>
        /// 考勤组负责人
        /// </summary>		      
        public string ManagerIds { get; set; }
        /// <summary>
        /// 考勤开始时间(每天几点开始新一天的考勤 )
        /// </summary>		      
        public string StartTime { get; set; }
        /// <summary>
        /// 自由工时时设置工作日
        /// </summary>		      
        public string WorkDate { get; set; }
        /// <summary>
        /// 考勤组固定班制配置
        /// </summary>		      
        public string GroupSettingId { get; set; }
        /// <summary>
        /// 允许外勤打卡
        /// </summary>		      
        public bool IsAllowOuterCheck { get; set; }
        /// <summary>
        /// 外勤打卡需填写备注
        /// </summary>		      
        public bool IsOuterRemark { get; set; }
        /// <summary>
        /// 外勤打卡需拍照
        /// </summary>		      
        public bool IsOuterPhoto { get; set; }
        /// <summary>
        /// 是否拍照打卡
        /// </summary>		      
        public bool IsPhotoCheck { get; set; }
        /// <summary>
        /// 照片地址
        /// </summary>		      
        public string PhotoUrl { get; set; }
        /// <summary>
        /// 是否美颜模式
        /// </summary>		      
        public int IsBeautyModel { get; set; }
        /// <summary>
        /// 是否人脸打卡
        /// </summary>		      
        public bool IsFace { get; set; }
        /// <summary>
        /// 无需考勤人员
        /// </summary>		      
        public string IgnoreMemberIds { get; set; }

        /// <summary>
        /// 考勤方式Id
        /// </summary>
        public string ModeIds { get; set; }
        /// <summary>
        /// 上班打卡后多少分钟可打下班卡
        /// </summary>
        public int LaterMinutes { get; set; }

        /// <summary>
        /// 排班班次
        /// </summary>
        public string PlanClassIds { get; set; }

        /// <summary>
        /// 排班周期名称
        /// </summary>
        public string PlanName { get; set; }
        /// <summary>
        /// 排班周期天数
        /// </summary>
        public int CycleDays { get; set; }
        /// <summary>
        /// 是否自动打卡
        /// </summary>
        public bool IsAutoCheck { get; set; }

        /// <summary>
        /// 补卡规则Id
        /// </summary>
        public long RemedyRuleId { get; set; }

        /// <summary>
        /// 生效时间
        /// </summary>
        public DateTime EffectiveDate { get; set; }
    }
}
